﻿
namespace WriteLog
{
    public class ConsoleWriteLogMessage : BaseLogMessage
    {
        public ConsoleWriteLogMessage(string messageBody)
            : this("Console", 0, "控制台输出", messageBody)
        {
        }

        private ConsoleWriteLogMessage(string provider, int eventID, string taskName, string messageBody)
            : base()
        {
            this.Provider = provider;
            this.EventID = eventID;
            this.TaskName = taskName;
            this.MessageBody = messageBody;
        }

        public override LogLevel Level
        {
            get
            {
                return LogLevel.Normal;
            }
        }
    }
}
